package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ForumPhoto;
import com.woniuxy.common.entity.ForumPhotoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumPhotoMapper {
    long countByExample(ForumPhotoExample example);

    int deleteByExample(ForumPhotoExample example);

    int deleteByPrimaryKey(String id);

    int insert(ForumPhoto record);

    int insertSelective(ForumPhoto record);

    List<ForumPhoto> selectByExample(ForumPhotoExample example);

    ForumPhoto selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ForumPhoto record, @Param("example") ForumPhotoExample example);

    int updateByExample(@Param("record") ForumPhoto record, @Param("example") ForumPhotoExample example);

    int updateByPrimaryKeySelective(ForumPhoto record);

    int updateByPrimaryKey(ForumPhoto record);
}